<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        ul{
            display: flex;
            justify-content: center;
        }

        li{
            perspective: 400px;
            list-style: none;
             width: 100px;
             height: 40px;
        }
        .box{ 
            transform-style: preserve-3d;
            position: relative;
            width: 100px;
            height: 40px;
            text-align: center;
            line-height: 40px;
            transition: all .6s;
            
        }
        .box:hover{
            transform: rotateX(90deg);
        }
        .box div{
            position:absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;

        }
        .div1{
            background-color: pink;
         
            transform:translateY(19px) rotateX(-90deg);
           
        }
        .div2{
            background-color: rgb(33, 172, 82);
            transform: translateZ(19px);
        }
    </style>
</head>

<body>
    <UL>
        <li>
            <div class="box">
                <div class="div1">赵玉真</div>
                <div class="div2">十步杀一人</div>
            </div>
        </li>
        <li>
            <div class="box">
                <div class="div1">赵玉真</div>
                <div class="div2">十步杀一人</div>
            </div>
        </li>
        <li>
            <div class="box">
                <div class="div1">赵玉真</div>
                <div class="div2">十步杀一人</div>
            </div>
        </li>
        <li>
            <div class="box">
                <div class="div1">赵玉真</div>
                <div class="div2">十步杀一人</div>
            </div>
        </li>
        <li>
            <div class="box">
                <div class="div1">赵玉真</div>
                <div class="div2">十步杀一人</div>
            </div>
        </li>
        <li>
            <div class="box">
                <div class="div1">赵玉真</div>
                <div class="div2">十步杀一人</div>
            </div>
        </li>
    </UL>
</body>

</html>